import {get, post } from "./request";

export const getRecruitList = params => get("/recruit/search", params)
export const getRecruitByRid = rid => get("/recruit/getByRid", { rid })
export const updateRecruit = params => post("/recruit/update", params)
export const deleteRecruit = (rid, pid) => post("/recruit/delete", { rid, pid })
export const createRecruit = params => post("/recruit/create", params)